#include "FrameBuffer.h"

size_t size(FrameBuffer *fb)
{
	return fb->mSize;
}

int getDisplayAngle(FrameBuffer *fb)
{
	return fb->mAngle;
}

void setDisplayAngle(FrameBuffer *fb, int angle, bool mirror)
{
	fb->mAngle = angle;
	fb->mfMirror = mirror;
}

void setBufferType(FrameBuffer *fb, int t)
{
	fb->mType = t;
}

int getBufferType(FrameBuffer *fb)
{
	return fb->mType;
}

bool isMirror(FrameBuffer *fb)
{
	return fb->mfMirror;
}

